package com.tiansheng.model.entity;

public class Account {
	
	public static final int TYPE_CASH = 1;
	public static final int TYPE_BANK = 2;
	
	
	private int accountId;
	private String accountName;
	private int accountType;
	private String accountInfo;
	private float accountTotal;

	public Account(String accountName, int accountType, String accountInfo,
			float accountTotal) {
		super();
		this.accountName = accountName;
		this.accountType = accountType;
		this.accountInfo = accountInfo;
		this.accountTotal = accountTotal;
	}

	public Account() {
		super();
	}

	public int getAccountId() {
		return accountId;
	}

	public void setAccountId(int accountId) {
		this.accountId = accountId;
	}

	public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}

	public int getAccountType() {
		return accountType;
	}

	public void setAccountType(int accountType) {
		this.accountType = accountType;
	}

	public String getAccountInfo() {
		return accountInfo;
	}

	public void setAccountInfo(String accountInfo) {
		this.accountInfo = accountInfo;
	}

	public float getAccountTotal() {
		return accountTotal;
	}

	public void setAccountTotal(float accountTotal) {
		this.accountTotal = accountTotal;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return this.accountName;
	}
	
	

}
